// ------------------------------------------------------ Naming ------------------------------------------------------
Name Hawker Hurricane
ShortName Hurricane
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconhurricane
Model baf.hurricane
Texture hurricane
//Third Person Camera Distance
CameraDistance 15.0
HasGear True
ModelScale 1
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Plane
//Throttle
MaxThrottle 0.5
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2
TurnRightSpeed 2
//Pitch modifiers
LookDownSpeed 2
LookUpSpeed 2
//Roll modifiers
RollLeftSpeed 1.8
RollRightSpeed 1.8
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1.5
//Lift (A lift : mass ratio of 1 : 1 should keep the plane perfectly level at full throttle
Lift 3.2
//Mass (In tons)
Mass 2.7
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 10.0
//More bounciness means the vehicle will bounce more upon going up slopes, but fall through the ground less
Bounciness 1.0
//Wheels
NumWheels 3
WheelPosition 0 52 -34 -27
WheelPosition 1 52 -34 27
WheelPosition 2 -82 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 -98 -38 0 nose metalPropeller
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Gun
Secondary None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 1
ShootDelaySecondary 15
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary SemiAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 63 -1 -41 leftWing browning
ShootPointPrimary 62 -1 -44 leftWing browning
ShootPointPrimary 62 -1 -47 leftWing browning
ShootPointPrimary 62 -1 -50 leftWing browning
ShootPointPrimary 63 -1 41 rightWing browning
ShootPointPrimary 62 -1 44 rightWing browning
ShootPointPrimary 62 -1 47 rightWing browning
ShootPointPrimary 62 -1 50 rightWing browning
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 1
BombSlots 0
MissileSlots 0
AllowAllAmmo True
AddAmmo AIM4
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 24 11 0
Passengers 0
flightCeiling 550
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound propStart
StartSoundLength 20
PropSound propSound
PropSoundLength 30
ShootSoundPrimary BritSevenMM
ShootSoundSecondary bomb
PlaceSoundPrimary Spitfire_PlaceSound
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts coreWheel 2 wheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail
AddRecipeParts rightWingWheel 1 wheel
AddRecipeParts leftWingWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 white
AddDye 1 gray
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart nose 100 97 5 -7 12 15 14
SetupPart nose 100 67 -5 -11 30 31 21
SetupPart core 100 37 -4 -13 30 31 25
SetupPart core 100 6 -4 -13 30 39 25
SetupPart core 108 -20 -4 -13 25 40 25
SetupPart tail 109 -108 -4 -13 89 40 25
SetupPart tail 109 -108 36 -3 35 14 6
SetupPart tail 109 -108 17 -38 36 5 75
SetupPart leftWing 100 9 -7 -135 54 13 122
SetupPart rightWing 100 9 -7 13 54 13 122

BulletDetection 10

//Collison Points
CollisionPoint 100 17 0 nose
CollisionPoint 80 18 0 nose
CollisionPoint 53 18 0 core
CollisionPoint 19 18 0 core
CollisionPoint -10 18 0 core
CollisionPoint -46 18 0 tail
CollisionPoint -89 18 0 tail
CollisionPoint -90 44 0 tail
CollisionPoint -90 19 -26 tail
CollisionPoint -90 18 27 tail
CollisionPoint 38 1 -35 leftWing
CollisionPoint 37 1 -107 leftWing
CollisionPoint 38 1 35 rightWing
CollisionPoint 37 1 107 rightWing
